package com.han.prototype.demo1;

/**
 * @ClassName CitationTest
 * @Description 描述该类的功能
 * @Author duoduo Han
 * @Date 2024/6/4 21:00
 */
public class CitationTest {
    public static void main(String[] args) throws CloneNotSupportedException {
        //1. 创建原型对象
        Citation citation = new Citation();
        //2. 克隆奖状对象
        Citation citation1 = citation.clone();

        citation.setName("孙佳玲");
        citation1.setName("李佳玲");
        citation.show();
        citation1.show();
    }
}
